home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-13 / flex102d.zip / TUTOR.DOC < prev   
Text File  |  1992-06-16  |  42KB  |  874 lines

  1.  
  2.                          W E L C O M E    T O ........
  3.  
  4.  
  5.  ╔════════════════════════════════════════════════════════════════════════════╗
  6.  ║               T h e   P r o f e s s i o n a l   E d i t o r                ║
  7.  ╚════════════════════════════════════════════════════════════════════════════╝
  8.  
  9.  
  10.     ███████   ███
  11.      ██   █    ██
  12.      ██ █      ██    █████  ██   ██   Copyright 1990, 1992, Logical Systems
  13.      ████      ██   ██   ██  ██ ██             ALL RIGHTS RESERVED
  14.      ██ █      ██   ███████   ███                  Version 1.02d
  15.      ██        ██   ██       ██ ██
  16.     ████      ████   █████  ██   ██
  17.  
  18.  
  19.  ╔════════════════════════════════════════════════════════════════════════════╗
  20.  ║                    C O M M A N D    R E F E R E N C E                      ║
  21.  ╚════════════════════════════════════════════════════════════════════════════╝
  22.  
  23.  
  24.                               ISBN 1-878830-04-X
  25.  
  26.  
  27.                                 Logical Systems
  28.  
  29.                                   PO Box 181
  30.  
  31.                         Jacksonville, AR 72076-0181 USA
  32.  
  33.                       (501) 985-0059  24-hour support BBS
  34.  
  35.  
  36.               ┌─────────┐
  37.         ┌─────┴───┐     │              (tm)
  38.       ──│         │o    │──────────────────            User
  39.         │   ┌─────┴╨──┐ │  Association of              Supported
  40.         │   │         │─┘  Shareware                   Software
  41.         └───│    o    │    Professionals               Association
  42.       ──────│    ║    │────────────────────                 MEMBER
  43.             └────╨────┘    MEMBER
  44.  
  45.  
  46.  
  47. to get up to speed quickly, see JMPSTART.DOC
  48.  
  49. to get detailed information, see FLEX.DOC
  50.  
  51. to register, see INVOICE.DOC
  52.  
  53. ============================================================================
  54.  
  55.   This document is a brief tutorial on how to use Flex.  It is not formatted
  56. for pagination.
  57.  
  58.  Subjects covered:
  59.  
  60. *LEARNING FLEX:
  61. *KEY CONVENTIONS:
  62. *SAVING YOUR SETUP:
  63. *IDENTIFYING THE KEYBOARD:
  64. *NAVIGATING THE MENUS:
  65. *SETTING THE COLORS:
  66. *PRINTER SETUP:
  67. *BLOCK OPERATIONS:
  68.  
  69.  
  70. LEARNING FLEX:
  71.  
  72.  "This program has so many commands, it's probably too much trouble to
  73.   learn or use."  - an early beta tester
  74.  
  75.  Nonsense!  You can run Flex with just a few commands - load a file, move
  76. around, and save a file.  These basics are covered in JMPSTART.DOC.
  77.  
  78.  Flex is a powerful program, and like most powerful programs, has lots of
  79. commands.  There are about 150 distinct commands, many of which have up to
  80. 10 subcommands.  This doesn't mean Flex has to be hard to use - the pulldown
  81. menus are designed to hold a combination of basic and advanced information.
  82. This way they're useful for the beginner who needs to feel his way around
  83. and the advanced user needing a little-used command.
  84.  
  85.  You probably won't need all of Flex's capabilities.  If you don't care about
  86. macros or print formatting, don't worry about it.  Those capabilities will
  87. still be there when you need them.
  88.  
  89.  FLEX.DOC lists all of Flex's commands and operating modes. You can use
  90. it as a reference when you are hazy about a particular command.  This guide
  91. will lead you through Flex's fancier stuff.
  92.  
  93.  If you don't have FLEX.DOC handy you can use the Help functions available by
  94. pressing the <F1> key.  Remember - <F1> for help!
  95.  
  96.  
  97.  
  98. KEY CONVENTIONS:
  99.  
  100.  Flex uses function keys, alt-keys, and control-keys.  Many people are leery
  101. of control-key commands, but they are not hard.  For example, the Reference
  102. manual might tell you a particular command was ^KB.  To get a control-K,B
  103. command, hold down the control key (sometimes marked Ctl or Ctrl).  While
  104. still holding the control key down, press the K key, let up, and press the B
  105. key.  Then release the control key.  Simple!
  106.  
  107.  Control-key commands are handy on laptops or terminals without function keys.
  108. There's another reason Flex uses some control-key commands - there are only
  109. forty function-key combinations using normal, shifted, control, and alt keys,
  110. and Flex has many more than forty commands!  If you don't find the control-key
  111. commands to your taste, you can usually use the pulldown menus.
  112.  
  113.  
  114.  
  115. NAVIGATING THE MENUS:
  116.  
  117.   The F2 key brings up Flex's menu system.  You may use the arrow keys to
  118. move the highlight bar from topic to topic.  If you wish to see the subtopics
  119. as you move, press the <enter> key to bring up the submenus.  You will stay
  120. in the submenus until you press <escape>.
  121.  
  122.  As you move through the menu selections you will see the codes for the
  123. equivalent keyboard commands in the left side of the prompt line.  The
  124. keyboard commands are much faster than the menus.  The prompts will help
  125. you learn the keyboard commands if you wish.
  126.  
  127.  Some menu selections end with a pair of dots, such as "Print..". These dots
  128. tell you there are further submenus under the current submenu, or you may be
  129. prompted for further input, such as a search string.
  130.  
  131.  To select an entry, use the arrow keys to move the highlight bar, then press
  132. <enter>.  You may also use the first letter of the command.
  133.  
  134.  
  135.  
  136. SAVING YOUR SETUP:
  137.  
  138.  Whenever you change anything using the menu system, these changes are valid
  139. only during your current editing session.  When you leave Flex, they'll return
  140. to their default (original) settings.  To make the changes stick, select <F2>
  141. <O>ptions  <S>ave Setup and press <enter>.
  142.  
  143. ┌──────────────────────────────────────────────────────────────────────────────┐
  144. │   File     Window    Text     Block    Goto    Search   Options   Utilities  │
  145. └────────────────────────────────────────────────────┬─────────────────────┬───┘
  146. #####################################################│ Margins..           │###
  147. #####################################################│ Format options..    │###
  148. #####################################################│ Tabs..              │###
  149. #####################################################│ Load file options.. │###
  150. #####################################################│ Display options..   │###
  151. #####################################################│ Colors..            │###
  152. #####################################################│ Save setup  <=====  │###
  153. #####################################################└─────────────────────┘###
  154. ###############################################################################
  155. ###############################################################################
  156. ###############################################################################
  157. ###############################################################################
  158. ###############################################################################
  159. ###############################################################################
  160. ###############################################################################
  161. ###############################################################################
  162. ###############################################################################
  163. ###############################################################################
  164. ###############################################################################
  165. ###############################################################################
  166. ###############################################################################
  167.  
  168.  
  169.  
  170.  
  171.  
  172. SETTING THE COLORS:
  173.  
  174.   to select color, <Enter> to change, <Esc> to ignore
  175. ┌──────────────────────────────────────────────────────────────────────────────┐
  176. │   File     Window    Text     Block    Goto    Search   Options   Utilities  │
  177. └────────────────────────────────────────────────────┬─────────────────────┬───┘
  178. #####################################################│ Margins..           │###
  179. #####################################################│ Format options..    │###
  180. ####┌────── Colors ──────┐###########################│ Tabs..              │###
  181. ####│ Normal Text       │###########################│ Load file options.. │###
  182. ####│  Marked Block      │###########################│ Display options..   │###
  183. ####│  Window Status     │####┌─── Choices ────┐#####│ Colors..            │###
  184. ####│  Prompt Line       │####││#####│ Save setup          │###
  185. ####│  Block Cursor      │####││#####└─────────────────────┘###
  186. ####│  Menu Text         │####││###############################
  187. ####│  Menu Frame        │####││###############################
  188. ####│  Menu Select       │####││###############################
  189. ####│  Menu Hilite       │####││###############################
  190. ####│  Bold text         │####││###############################
  191. ####│  Doublestrike      │####││###############################
  192. ####│  Underscore        │####└────────────────┘###############################
  193. ####│  Superscript       │#####################################################
  194. ####│  Subscript         │#####################################################
  195. ####│  Compressed        │#####################################################
  196. ####│  Italic            │#####################################################
  197. ####└────────────────────┘#####################################################
  198. ###############################################################################
  199.  
  200.  
  201.  
  202.  
  203. IDENTIFYING YOUR KEYBOARD:
  204.  
  205.  Keyboards can be a real mess.  You have the basic XT, AT, and enhanced
  206. boards, plus the clones which move stuff around, plus laptops, which do
  207. strange and perverted things to the key positions.  If you're not used to
  208. computers this can be confusing.  The information below will make you an
  209. instant expert!
  210.  
  211.  
  212.  This picture resembles the original IBM PC and XT keyboards.  The <escape>
  213. key is on the left, and it has a small <enter> key.
  214.  
  215. ┌──┬──┐┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬─────┬─────┬─────┐
  216. │F1│F2││Esc│ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │ <── │ Num │Scrol│
  217. ├──┼──┤├───┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─┬───┼──┬──┼──┬──┤
  218. │F3│F4││ Tab│ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ]  │ │ │7 │8 │9 │- │
  219. ├──┼──┤├────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬───┤ │ ├──┼──┼──┼──┤
  220. │F5│F6││ Ctl │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │ ` │<┘ │4 │5 │6 │+ │
  221. ├──┼──┤├───┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┼───┼──┼──┼──┤  │
  222. │F7│F8││Shf│ \ │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │Shf  │ * │1 │2 │3 │  │
  223. ├──┼──┤├───┴─┬─┴───┴───┴───┴───┴───┴───┴───┴───┴───┴──┬┴─────┼───┴──┼──┴──┼──┘
  224. │F9│F0││ Alt │                 Space Bar              │ Caps │ Ins  │ Del │
  225. └──┴──┘└─────┴────────────────────────────────────────┴──────┴──────┴─────┘
  226.  
  227.  
  228. This picture resembles the early AT keyboards and most clone machines up
  229. through 1988 or so with the "84 key" or "function keys on the left" keyboards.
  230. The <escape> key is on the right, the backslash moved from by the Z key to by
  231. the backspace key, and it has a large L shaped <enter> key.
  232.  
  233. ┌──┬──┐┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬──┬──┬──┬──┐┌──┬──┬──┬──┐
  234. │F1│F2││ ` │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │- │= │\ │BK││ES│Nm│Sc│Sq│
  235. ├──┼──┤├───┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬─┴─┬┴──┼──┤├──┼──┼──┼──┤
  236. │F3│F4││ Tab│ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] ││ ││7 │8 │9 │* │
  237. ├──┼──┤├────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┘│ │├──┼──┼──┼──┤
  238. │F5│F6││ Ctl │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │ <─┘ ││4 │5 │6 │- │
  239. ├──┼──┤├─────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─────┤├──┼──┼──┼──┤
  240. │F7│F8││ Shift │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │ Shift ││1 │2 │3 │  │
  241. ├──┼──┤├─────┬─┴─┬─┴───┴───┴───┴───┴───┴───┴───┴───┴───┼───┬───┤├──┴─┬┴──┤+ │
  242. │F9│F0││ Alt │   │               Space Bar             │   │Cap││ Ins│Del│  │
  243. └──┴──┘└─────┘   └─────────────────────────────────────┘   └───┘└────┴───┴──┘
  244.  
  245.  
  246.  
  247.  This picture resembles the so-called "enhanced" keyboard, found on later IBM
  248. ATs and all PS/2 and later machines.  It is derived from the traditional
  249. mainframe terminal keyboards, with 12 function keys on the top, an "inverted
  250. T" cursor pad, and dual <control> and <alt> keys.
  251.  
  252. ┌───┐┌───┬───┬───┬───┐┌───┬───┬───┬───┐┌───┬───┬───┬───┐┌──┬──┬──┐
  253. │Esc││ 1 │ 2 │ 3 │ 4 ││ 5 │ 6 │ 7 │ 8 ││ 9 │10 │11 │12 ││PS│SL│BK│
  254. └───┘└───┴───┴───┴───┘└───┴───┴───┴───┘└───┴───┴───┴───┘└──┴──┴──┘
  255. ┌──┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐┌──┬──┬──┐┌──┬──┬──┬──┐
  256. │` │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │<──││IN│HO│PU││NL│/ │* │- │
  257. ├──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┤├──┼──┼──┤├──┼──┼──┼──┤
  258. │Tab│ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │  ││DE│EN│PD││7 │8 │9 │  │
  259. ├───┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┘  │└──┴──┴──┘├──┼──┼──┤+ │
  260. │Caps│ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │ ret │          │4 │5 │6 │  │
  261. ├────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴──┬──┤   ┌──┐   ├──┼──┼──┼──┤
  262. │Shift │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │Shf │\ │   │^ │   │1 │2 │3 │  │
  263. ├────┬─┴──┬┴───┴───┴───┴───┴───┴───┴───┴───┴──┬┴───┬┴──┤┌──┼──┼──┐├──┴─┬┴──┤ ││
  264. │Ctl │Alt │         Space Bar                 │Alt │Ctl││< │v │ >││ Ins│Del│<┘│
  265. └────┴────┴───────────────────────────────────┴────┴───┘└──┴──┴──┘└────┴───┴──┘
  266.  
  267.  
  268.  Clone versions of the enhanced keyboard are likely to have the keys moved
  269. around some, particularly the <escape>, backslash, and quote (`) characters.
  270. Many also have an extra <enter> key on the far right as part of the keypad.
  271.  
  272.  
  273.  
  274.  
  275. Finding Your <enter> Key...
  276.  
  277.  Flex refers to the <enter> key in its documentation.  This is the big key
  278. over the right shift key, marked "Enter", "Return", "CR", or maybe with
  279. a little bent-arrow picture -   │
  280.                               <─┘
  281.  
  282. Finding Your <escape> Key...
  283.  
  284.  The <escape> key is usually marked "Esc".  It is on the same row as
  285. the number keys, either on the far left or just over the <enter> key.
  286.  
  287.  
  288. Finding Your <tab> Key...
  289.  
  290.  The <tab> key is to the left of the 'Q' key, marked either "Tab" or with
  291. something like this -  |<---
  292.                        --->|
  293.  
  294. Finding Your <break> Key...
  295.  
  296.  The <break> key is often hard to find.  It is usually labeled "Scroll Lock"
  297. on top, and "Break" on the front where you don't ordinarily look.  Other
  298. keyboards say "Pause" on top and "Break" on front.
  299.  
  300.  
  301. Finding Your \ (backslash) Key...
  302.  
  303.  A real IBM XT keyboard has the '\' key down on the bottom left, next to the
  304. 'Z' key.  A real IBM AT keyboard puts it on top, over the <enter> key and
  305. next to the backspace key.  Clone keyboards can put it anywhere, though
  306. underneath the <enter> key or beside the right shift key is common.
  307.  
  308.  
  309.  
  310.  
  311.  
  312.  SETTING UP YOUR PRINTER:
  313.  
  314.  Flex comes with drivers for many popular printers.  To use boldface,
  315. underline, and other effects, you must have the correct printer installed.
  316. FLEX-LP.EXE is a self-extracting archive containing Flex's *.LP printer
  317. drivers.
  318.  
  319.  You'll need to extract FLEX-LP to get the driver you need.  Make a temporary
  320. directory or use a RAMdisk to extract the files to - you don't want all those
  321. .LP files cluttering up your Flex directory!  Copy the file to the temporary
  322. directory and just type "FLEX-LP".
  323.  
  324.  You'll get a file called PRINTERS.DOC and a bunch of .LP drivers.  Look in
  325. PRINTERS.DOC and match your printer to the correct driver.  Copy that driver
  326. to your Flex directory.  Install the driver by pressing <F2> to bring up the
  327. menu, <F> for File, <P> for Print, <W> for Which Printer?, and then edit the
  328. prompt line to point to the correct directory and name for your printer
  329. driver.  Press <S> to save, and then back out with the <escape> key.
  330.  
  331.  Use keypad to edit, wildcards for directory, <Enter> to accept
  332. ┌──────────────────────────────────────────────────────────────────────────────┐
  333. │   File     Window    Text     Block    Goto    Search   Options   Utilities  │
  334. └┬─────────────┬───────────────────────────────────────────────────────────────┘
  335. #│ Open..      │###############################################################
  336. #│ Close       │###############################################################
  337. #│ Save        │###############################################################
  338. #│ Write ┌─────────────────────────── Print Setup ───────────────────────────┐#
  339. #│ Print.│  Print file now                                                   │#
  340. #│ Get in├───────────────────────────────────────────────────────────────────┤#
  341. #│ Quit  │  Name of file       C:\FLEX\NEWFILE                               │#
  342. #└───────│  Auto formatting     ON                                           │#
  343. #########│  First page         1                                             │#
  344. #########│  Last page          4095                                          │#
  345. #########├───────────────────────────────────────────────────────────────────┤#
  346. #########│  Which printer                                                    │#
  347. #########│  Device             LPT1                                          │#
  348. #########│  Manual paper feed  OFF                                           │#
  349. #########│  Use formfeeds      OFF                                           │#
  350. #########│  Edit printer codes                                               │#
  351. ##┌─────────────────── Printer Definition File ────────────────────┐         │#
  352. ##│C:\CODE2\FLEX\SRC\*.LP                                          │─────────┘#
  353. ##└────────────────────────────────────────────────────────────────┘###########
  354. ###############################################################################
  355. ###############################################################################
  356.  
  357.  
  358.  I installed the right driver, but all the options won't work:
  359.  
  360.  We used the original manufacturer's manuals to set up Flex's printer
  361. drivers.  Manufacturers sometimes make changes during a model run.  If your
  362. particular printer has italic, for example, you can use the setup options
  363. to add the correct codes from your manual.
  364.  
  365.  
  366.  What if my printer isn't listed?
  367.  
  368.  Every printer manufacturer likes to make up their own command set.  Most
  369. printers can be made to act like (emulate) one of the three most popular
  370. printer types - Epson MX80, Epson FX80, or Okidata 94.  Your printer may have
  371. a switch or control code to enable emulation.  Check your manual.  You might
  372. also try several .LP files to see what results you get - the TEMPLATE.DRV
  373. file is a formatted test document with bold print, etc.
  374.  
  375.  
  376.  That didn't work either.  What now?
  377.  
  378.  You'll have to build your own printer driver!  Relax, it's not anywhere
  379. near as hard as you think.  Dig out your printer manual and look through
  380. it for a few minutes.  You'll see lots of complicated-looking commands and
  381. "escape codes" in there.  These usually boil down to an "escape character"
  382. and one or two command characters, such as <escape>S1 or <escape>T.
  383.  
  384.  It's easiest if you write the necessary commands down on a piece of paper
  385. before you start.  You'll need the codes for:
  386.  
  387.         initialization
  388.         reset
  389.         bold on
  390.         bold off
  391.         doublestrike on
  392.         doublestrike off
  393.         underline on
  394.         underline off
  395.         superscript on
  396.         superscript off
  397.         subscript on
  398.         subscript off
  399.         compressed on
  400.         compressed off
  401.         italic on
  402.         italic off
  403.  
  404.   Whew!  Now, there are a few tricks: some printers don't need or have
  405. initialization strings, some can't be reset through software, many don't do
  406. italic (though they may have "alternate character sets"), and bold is often
  407. called "enhanced" print.
  408.  
  409.  If your printer has special or downloadable fonts, you might want to install
  410. those instead of doublestrike or italic.  If you do, you'll have to remember
  411. what does what!
  412.  
  413.  Now you're ready.  Press <F2> for the menu, <F> for Files, <P> for Print,
  414. <E> for Edit.  You'll get a screen like this:
  415.  
  416.  Use  to browse, <Enter> to select, <Esc> to ignore
  417. ┌──────────────────────────────────────────────────────────────────────────────┐
  418. │   File     Window    Text     Block    Goto    Search   Options   Utilities  │
  419. └┬─────────────┬───────────────────────────────────────────────────────────────┘
  420. #│ Open..      │###############################################################
  421. #│ Close       │###############################################################
  422. #│ Save        │###############┌─ Printer Strings ─┐###########################
  423. #│ Write ┌─────────────────────│  Initialization   │─────────────────────────┐#
  424. #│ Print.│  Print file now     │  Reset            │                         │#
  425. #│ Get in├─────────────────────│  Bold text  ON    │─────────────────────────┤#
  426. #│ Quit  │  Name of file       │  Bold text OFF    │                         │#
  427. #└───────│  Auto formatting    │  Doublestrike  ON │                         │#
  428. #########│  First page         │  Doublestrike OFF │                         │#
  429. #########│  Last page          │  Underscore  ON   │                         │#
  430. #########├─────────────────────│  Underscore OFF   │─────────────────────────┤#
  431. #########│  Which printer      │  Superscript  ON  │                         │#
  432. #########│  Device             │  Superscript OFF  │                         │#
  433. #########│  Manual paper feed  │  Subscript  ON    │                         │#
  434. #########│  Use formfeeds      │  Subscript OFF    │                         │#
  435. #########│  Edit printer codes │  Compressed  ON   │                         │#
  436. #########│  Save printer setup │  Compressed OFF   │                         │#
  437. #########└─────────────────────│  Italic  ON       │─────────────────────────┘#
  438. ###############################│  Italic OFF       │###########################
  439. ###############################└───────────────────┘###########################
  440. ###############################################################################
  441.  
  442.  
  443.  The menu bar will be sitting on "Initialization."  You can use the arrow keys
  444. to move the menu bar wherever you want.  We'll assume you have an
  445. initialization code, and it's <escape>[p.  (this is an imaginary code)
  446.  
  447.  Move the menu bar to "Initialization" and press <enter>.  A box marked
  448. "Print Setup" will pop up.
  449.  
  450.  Now you need to enter the first part of your printer code.  Pressing <escape>
  451. makes the box disappear.  That's not what you want!  Flex will allow you to
  452. enter "literal" characters - that is, an escape character when you press the
  453. escape key.  Press the Scoll Lock (it may be marked "Pause") key to go into
  454. literal mode.  Notice the word "Command" on the bottom right as it changes to
  455. "Literal".  This tells you which mode you're in.
  456.  
  457.  Now press the <escape> key.  Flex replies with "<Esc>".  Press Scroll Lock
  458. again to return to normal mode.  Now press the "[" and "P" keys.  NOTE: some
  459. printers are "case-sensitive" - that is, a lowercase "p" and an uppercase "P"
  460. may mean different things.  Be sure to copy the examples in your printer
  461. manual exactly.
  462.  
  463.  
  464.  <ScrollLock> for literal, <CtrlBkSp> clears, <Enter> accepts
  465. ┌──────────────────────────────────────────────────────────────────────────────┐
  466. │   File     Window    Text     Block    Goto    Search   Options   Utilities  │
  467. └┬─────────────┬───────────────────────────────────────────────────────────────┘
  468. #│ Open..      │###############################################################
  469. #│ Close       │###############################################################
  470. #│ Save        │###############################################################
  471. #│ Write ┌─────────────────────────── Print Setup ───────────────────────────┐#
  472. #│ Print.│  Print file now                                                   │#
  473. #│ Get in├───────────────────────────────────────────────────────────────────┤#
  474. #│ Quit  │  Name of file       C:\FLEX\NEWFILE                               │#
  475. #└───────│  Auto formatting     ON                                           │#
  476. #########│  First page         1                                             │#
  477. #########│  Last page          4095                                          │#
  478. #########├───────────────────────────────────────────────────────────────────┤#
  479. #########│  Which printer                                                    │#
  480. #########│  Device             LPT1                                          │#
  481. #########│  Manual paper feed  OFF                                           │#
  482. ####┌────────────────────────── Initialization ───────────────────────────┐  │#
  483. ####│ <Esc>[p                                                             │  │#
  484. ####│                                                                     │  │#
  485. ####│                                                                     │──┘#
  486. ####│                                                                     │####
  487. ####└───────────────────────────────────────────────────────── Literal ───┘####
  488. ###############################################################################
  489.  
  490.  
  491.  Now hit <enter> to save the code.  When you've entered all the appropriate
  492. codes from your manual, you'll need to save your work.  Select "Save printer
  493. setup".  Flex will prompt you for a driver name.  If you have a Kim-Chee 42
  494. printer, you can name it something like "KMCHEE42.LP".  Here's the menu:
  495.  
  496.  
  497.   to select item, <Enter> to change, <Esc> to quit
  498. ┌──────────────────────────────────────────────────────────────────────────────┐
  499. │   File     Window    Text     Block    Goto    Search   Options   Utilities  │
  500. └┬─────────────┬───────────────────────────────────────────────────────────────┘
  501. #│ Open..      │###############################################################
  502. #│ Close       │###############################################################
  503. #│ Save        │###############################################################
  504. #│ Write ┌─────────────────────────── Print Setup ───────────────────────────┐#
  505. #│ Print.│  Print file now                                                   │#
  506. #│ Get in├───────────────────────────────────────────────────────────────────┤#
  507. #│ Quit  │  Name of file       C:\FLEX\NEWFILE                               │#
  508. #└───────│  Auto formatting     ON                                           │#
  509. #########│  First page         1                                             │#
  510. #########│  Last page          4095                                          │#
  511. #########├───────────────────────────────────────────────────────────────────┤#
  512. #########│  Which printer      TTY.LP                                        │#
  513. #########│  Device             LPT1                                          │#
  514. #########│  Manual paper feed  OFF                                           │#
  515. #########│  Use formfeeds      OFF                                           │#
  516. #########│  Edit printer codes                                               │#
  517. #########│  Save printer setup  <============                                │#
  518. #########└───────────────────────────────────────────────────────────────────┘#
  519. ###############################################################################
  520. ###############################################################################
  521.  
  522.  
  523.                         CAUTION!   CAUTION!   CAUTION!
  524.  
  525. If you don't save your setup, all your work will be lost when you leave Flex!
  526.  
  527.                         CAUTION!   CAUTION!   CAUTION!
  528.  
  529.  
  530.  
  531. BLOCK OPERATIONS:
  532.  
  533.  Block operations are a powerful and useful feature.  You can copy, delete,
  534. or move a block to anywhere within your document, or even export a block to a
  535. disk file!
  536.  
  537.  Three keystrokes are required for a block operation.  To demonstrate, we'll
  538. move a line with the F6, "Move a Block" command.
  539.  
  540.  Here's our sample text:
  541.  
  542.         this is line 1 of our sample text
  543.         this is line 2 of our sample text
  544.         this is line 3 of our sample text
  545.         this is line 4 of our sample text
  546.  
  547.  We'll use the <F7> key to mark the beginning of our block:
  548. (you won't see anything until you mark the whole block)
  549.  
  550. <F7>    this is line 1 of our sample text
  551.         this is line 2 of our sample text
  552.         this is line 3 of our sample text
  553.         this is line 4 of our sample text
  554.  
  555. now we'll use the <F8> key to mark the end of our block:
  556. (we're showing the highlighted text as capitals here)
  557.  
  558. <F7>    THIS IS LINE 1 OF OUR SAMPLE TEXT
  559. <F8>    THIS IS LINE 2 OF OUR SAMPLE TEXT
  560.         this is line 3 of our sample text
  561.         this is line 4 of our sample text
  562.  
  563. now we'll move our cursor down two lines, to just under the last line...
  564.  
  565.         THIS IS LINE 1 OF OUR SAMPLE TEXT
  566.         THIS IS LINE 2 OF OUR SAMPLE TEXT
  567.         this is line 3 of our sample text
  568.         this is line 4 of our sample text
  569. _
  570.  
  571. the marked block will move down to where the cursor is...
  572.  
  573.         this is line 3 of our sample text
  574.         this is line 4 of our sample text
  575. <F6>    THIS IS LINE 1 OF OUR SAMPLE TEXT
  576.         THIS IS LINE 2 OF OUR SAMPLE TEXT
  577.  
  578. ...and the F8 key will unmark the block.
  579.  
  580.         this is line 3 of our sample text
  581.         this is line 4 of our sample text
  582. <F8>    this is line 1 of our sample text
  583.         this is line 2 of our sample text
  584.  
  585.  Simple enough, wasn't it?  You can use the F4 key to delete a marked block,
  586. or the F3 to duplicate a marked block.
  587.  
  588.  
  589.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598.  
  599.  
  600.  
  601. ┌──────────────────────────────────────────────────────────────────────────────┐
  602. │   File     Window    Text     Block    Goto    Search   Options   Utilities  │
  603. └────────────────────────────────────────────────────┬─────────────────────┬───┘
  604. #####################################################│ Margins..           │###
  605. #####################################################│ Format options..    │###
  606. #####################################################│ Tabs..              │###
  607. #####################################################│ Load file options.. │###
  608. #####################################################│ Display options..   │###
  609. #####################################################│ Colors..            │###
  610. #####################################################│ Save setup          │###
  611. #####################################################└─────────────────────┘###
  612. ###############################################################################
  613. ###############################################################################
  614. ###############################################################################
  615. ###############################################################################
  616. ###############################################################################
  617. ###############################################################################
  618. ###############################################################################
  619. ###############################################################################
  620. ###############################################################################
  621. ###############################################################################
  622. ###############################################################################
  623. ###############################################################################
  624. ###############################################################################
  625.  
  626.  
  627.  
  628. show examples - text of explanations!
  629.  
  630. FORMATTING COMMANDS:
  631.  
  632.  Flex allows you to format text with right justification, pagination, and
  633. printer codes.
  634.  
  635. format paragraph                                        ^B
  636.         rearranges text from the current line to the end of the paragraph
  637.         do that the lines are as full as possible given the current left
  638.         and right margins.  This will work whether the text is being
  639.         right-justified or not.  Wordwrap must be on.  The end of a
  640.         paragraph is signified by a blank line between paragraphs or the
  641.         end of file, or by a @ character at the beginning of the last line.
  642.  
  643. reformat block                                          ^KF
  644.         same as above, except applies to the current marked block.
  645.  
  646. set temporary margin                                    ^OG
  647.         moves margin one tabstop to the right.  The temporary margin
  648.         remains in effect until you leave the current paragraph.  Word
  649.         wrap and fixed tabs must be on.  When the ruler line is on, the
  650.         temporary margin is shown by a right-arrow symbol.
  651.  
  652. set temporary margin to cursor                          ^OH
  653.         same as above, only sets left margin to current cursor position
  654.  
  655. margin release                                          ^OX
  656.         lets you type past right right margin when wordwrap is on.
  657.         Wordwrap resumes on the next line.
  658.  
  659. set left margin                                         ^OL
  660.         sets the left margin
  661.  
  662. set right margin                                        ^OR
  663.         sets the right margin
  664.  
  665. set top margin                                          menu
  666.         sets the top margin for printing
  667.  
  668. set bottom margin                                       menu
  669.         sets the bottom margin for printing
  670.  
  671. set page length                                         menu
  672.         sets the page length for printing
  673.  
  674. toggle right justification                              ^OJ
  675.         when on, will pad sentences with spaces to make an even right
  676.         margin.  This is generally not recommended, as it makes text
  677.         harder to read.  DEFAULT: OFF
  678.  
  679. toggle wordwrap                                         ^OW
  680.         when wordwrap is enabled Flex will automatically "wrap"
  681.         lines larger than the current margin.  The "wrapped" text
  682.         is brought down to the beginning of the next line.  Wordwrap
  683.         is on by default.  It is also turned on automatically when
  684.         right justification is enabled.  DEFAULT: ON
  685.  
  686. toggle autoindent                                       ^QI
  687.         autoindent mode is useful for doing columns or programming
  688.         in block-structured languages.  When in this mode, the left
  689.         margin is temporarily set to the column of the first character
  690.         in the next line above the current position.  For example, in
  691.         autoindent mode,
  692.                     this is a sample line in autoindent mode <enter>
  693.                     _   <-the cursor wraps here instead of the beginning
  694.                           of the line
  695.         DEFAULT: OFF
  696.  
  697. toggle insert mode                                      ^V or ins
  698.         When in insert mode, any characters typed into the middle of
  699.         a word or sentence will push all characters to the right over.
  700.         When in overstrike mode, characters are overwritten.  Default
  701.         is insert mode.  You may also lock insert mode in with the
  702.         setup menu.  Default: ON
  703.  
  704. toggle pagination                                       ^OB
  705.         when on, shows current page positions in columns on the left
  706.         side of the screen.  A page number counter will be shown on
  707.         the status line.  The total number of pages can be found by
  708.         using the menu commands <F2><F><G>.  DEFAULT: OFF
  709.  
  710. toggle compress wrap                                    menu
  711.         when compress wrap is enabled extra spaces are removed from each
  712.         line before wordwrap takes place. Valid only when wordwrap is
  713.         enabled.  DEFAULT: OFF
  714.  
  715.  
  716.  
  717. TAB COMMANDS:
  718.  
  719. set tab stops                                           menu, ^OI
  720.         sets tabs according to the positions of words on the current
  721.         line.  This command is useful for unevenly-spaced columns
  722.         or other tabular data.
  723.  
  724. save tab settings to file                               menu
  725.         stores the current tab line in the text at the current
  726.         cursor position.  The tab line is preceded by a "@" format
  727.         character so it will not be printed or reformatted.  You
  728.         can reload the settings by moving the cursor to the saved
  729.         line and using the ^OI command.
  730.  
  731. restore default tab settings                            menu
  732.         resets any custom tab lines to the default evenly spaced
  733.         tabstops at the default tab size.
  734.  
  735. edit ruler line                                         menu, ^OE
  736.         lets you edit the tab line when fixed tabs are enabled.  Move
  737.         the cursor to the desired position and press the spacebar. Tabs
  738.         will be added if not present, or deleted if present.  You may
  739.         also use the <insert> and <delete> keys to add or delete tab
  740.         stops.  You may press <escape> to exit and return tab stops to
  741.         their original settings.  Press <enter> to exit and save.  The
  742.         tab line is left on the screen; if you want to remove it you
  743.         must turn it off with the ^OT command.
  744.  
  745. toggle tab display                                      menu, ^OT
  746.         turns on ruler line for the current window.  Shows the position
  747.         of all tab stops, left and right margins.  Turning on the ruler
  748.         line automatically turns on fixed tabs.
  749.  
  750. toggle fixed tabs                                       ^OF
  751.         When fixed tabs are on the tab stops will start at the first
  752.         default column (9, if you haven't changed it) and every 8th
  753.         column thereafter.  When smart tabs are on the tab stops are
  754.         determined by the position of the first character in each word
  755.         in the preceding line.  You can use the Set Tab Size, Edit Ruler
  756.         Line, or Set Tab Line commands to change the locations of the
  757.         fixed tabs.  DEFAULT: FIXED TABS ON, SMART TABS OFF
  758.  
  759. set tab size                                            menu
  760.         sets default tab size when fixed tabs are on.  If tab expansion
  761.         is on, this value is also used to convert tabs in new files
  762.         to the proper number of spaces.
  763.  
  764.  
  765.  
  766.  
  767. WINDOW COMMANDS:
  768.  
  769. add window                                              ^OA or sF3
  770.         opens another text window.  If too many windows are open, you
  771.         will get an error message.  You will be prompted for a file
  772.         name.  If you do not provide one, "NEWFILE" will be created
  773.         for you.  You will be prompted for a filename when you save
  774.         and continue or save and exit.  If you exit and have previously
  775.         saved, Flex will automatically use that filename.
  776.  
  777. go to window                                            ^JW
  778.         when more than one window is open, pops up a list of available
  779.         windows and prompts for a window number.  If only one window
  780.         is open an error message is shown.
  781.  
  782. resize window                                           ^OS
  783.         changes the size of the active window.  You can adjust the size
  784.         by using the up and down arrow keys. <enter> or <esc> will return
  785.         you to the editor
  786.  
  787. go to previous window                                   sF6 or ^OP
  788.         moves cursor to previous window
  789.  
  790. go to next window                                       sF7 or ^ON
  791.         moves cursor to next window
  792.  
  793. zoom window                                             sF5 or ^OZ
  794.         fills the entire screen with the currently active window. The
  795.         status line reflects this condition with a >Z< on the left side.
  796.         If you change windows while zoomed, any window you change to will
  797.         also be zoomed
  798.  
  799. close window                                            sF10
  800.         closes current window.  If the file has not been modified the
  801.         window will be closed immediately.  If the file has been modified,
  802.         Flex will ask if you want to save the file.  If only one window is
  803.         open the menu system will prompt you for another filename to edit,
  804.         or you may select "Q" to quit.
  805.  
  806.  
  807.  
  808. Chapter 3: Macros
  809.  
  810.  Macros make it easy to automate repetitive tasks.  You can save keystrokes in
  811. a file, then play the file back at a later time.  Flex lets you handle up to
  812. ten macros in a set.  You can have as many macro sets as you have disk space.
  813. Each macro can have up to 255 keystrokes.
  814.  
  815.  
  816. load macros                                             menu
  817.         loads a macro file.  You will be prompted for a macro file to load,
  818.         or you may press <enter> at the *.* prompt to pick from a list.
  819.  
  820. save macros                                             menu
  821.         saves current macros to specified file name
  822.  
  823. record macro                                            menu, ^JT
  824.         toggles macro recording.  When on, all keystrokes are saved
  825.         except for those which toggle the macro on and off.  Macros
  826.         are limited to 255 keystrokes.  Once the macro is recorded
  827.         you will be prompted for a name.
  828.  
  829. edit macro                                              menu
  830.         edit previously saved macros. Special macro editor commands are:
  831.                 backspace       delete single keystroke
  832.                 ^backspace      delete entire macro
  833.                 escape          restore macro
  834.                 enter           exit macro editor
  835.                 scrollock       toggle literal interpretation
  836.         The scrollock key is used to edit macros which use keys used in the
  837.         macro editor, such as enter, backspace, and escape.
  838.  
  839. play back macro                                         menu
  840.         prompts you for the macro you want, then plays it back
  841.  
  842. play back scrap macro                                   ^JI
  843.         insert scrap macro (macro 0). Prompts for number of times
  844.         to insert macro. The scrap macro is always the last macro
  845.         that was recorded.
  846.  
  847. play back scrap macro # times                           ^J0..9
  848.         plays back scrap macro 0..9 times.
  849.  
  850. play back macro 1..9                                    alt1..alt-9
  851.         use alt key + macro number to play back a specific macro
  852.  
  853. abort                                                   ^U
  854.         stops current search-and-replace or macro sequence.
  855.  
  856. use macro                                               ^QM
  857.  
  858. note: Macros can be invoked from within search operations.
  859.  
  860.  
  861.  
  862.  
  863.  
  864.  
  865.  
  866.  
  867. difference btw word processor and text editor
  868. MACROS:
  869. WINDOWS:
  870. FORMATTING:
  871. SMART INDENTING:
  872. DELETING AND UNDELETING:
  873.  
  874.